﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TestOnlineProject.Models.Entities;

namespace TestOnlineProject.Models.DataAccess
{
    public class RoleDAO
    {
        private TestOnlineDBEntities db = new TestOnlineDBEntities();

        public List<Role> Select()
        {
            var roles = db.Roles.ToList();

            return roles;
        }
    }
}